Skip to content

refactor!: "block" → "chunk" and "shard" → "block" - #221

Merged
bogovicj merged 20 commits into
developmentfrom
shard-block-chunk-tobi-rebased
Mar 31, 2026
Merged

refactor!: "block" → "chunk" and "shard" → "block"#221
bogovicj merged 20 commits into
developmentfrom
shard-block-chunk-tobi-rebased

Conversation

@bogovicj

@bogovicj bogovicj commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

revisions of #216

bogovicj and others added 20 commits March 30, 2026 16:02
* getBlockSize should correspond to readBlock / writeBlock
* useful to have an analogue for readChunk / writeChunk
* that deletes blocks or chunks
* add clarifying javadoc
* test blockSize == chunkSize when not sharded
* fix block / chunk equivalence test and comments
createDatasetAccess() can be private because we don't override it
anywhere. (Maybe we did previously in n5-zarr?)

getDatasetAccess() has to be protected for tests only.
It is better for tests to use the canonical DatasetAccess instead of
creating a separate one, as they did before using createDatasetAccess()
@bogovicj
bogovicj merged commit f9c0ea3 into development Mar 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants